﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Map_Editor.Effects
{
    class EOLEffect : ClickEffect
    {
        public override void LeftApply(Krist_em_up.Level.Map map, Microsoft.Xna.Framework.Vector2 coords)
        {
            map.endOfLevel = coords;
        }

        public override void RightApply(Krist_em_up.Level.Map map, Microsoft.Xna.Framework.Vector2 coords)
        {
            if (map.endOfLevel == coords)
                map.endOfLevel = Vector2.Zero;
        }
    }
}
